package models

import "gorm.io/gorm"

type Good struct {
	gorm.Model
	Title   string `gorm:"type:varchar(30);comment:标题"`
	Content string `gorm:"type:varchar(500);comment:内容"`
	Picture string `gorm:"type:varchar(500);comment:图片"`
	Score   int    `gorm:"type:int;default 0;comment:评分"`
}
